﻿using System.Collections.Generic;
using BL.Model;
using BL.Model.Request;
using DAL.Model;

namespace BL
{
    public interface IReceiptController : ITransactionController
    {
        /// <summary>
        /// Create new item
        /// </summary>
        /// <param name="item"></param>
        /// <history>
        /// 12/05/2014 phat.vo: Create new
        /// </history>
        void Create(Receipt item);

        /// <summary>
        /// Search product category by keyword with paging and ordering
        /// </summary>
        /// <param name="request"></param>
        /// <returns>List of product category</returns>
        /// <history>
        /// 11/30/2014 phat.vo: Create new
        /// </history>
        List<ReceiptDetail> Search(SearchingReceiptRequest request);
    }
}
